#define _CRT_SECURE_NO_WARNINGS 1
int convertInteger(int A, int B) {
	int c = A ^ B;
	int count = 0;
	for (int i = 0; i < 32; i++) {
		if (c & 1 == 1) {
			count++;
		}
		c >>= 1;
	}
	return count;
}
